package com.lyy.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Liangyaoyun
 */
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
@Data
public class OrderDetail extends BaseEntity {
    private Integer orderDetailId;
    private Integer fkVideoId;
    private Integer fkOrderId;
    private Integer fkUserId;
    /** 每条中间表记录对应一个视频，1:1 */
    private Video video;
    /** 每条中间表记录对应一个订单，1:1 */
    private Order order;
    /** 每条中间表记录对应一个用户，1:1 */
    private User user;
}
